package com.wzy.new_energy_car_platform.service;

import com.wzy.new_energy_car_platform.common.ResultDto;
import com.wzy.new_energy_car_platform.model.Post;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

/**
 * <p>
 * 帖子 服务类
 * </p>
 *
 * @author wzy
 * @since 2024-04-10
 */
public interface PostService extends IService<Post> {

    ResultDto<?> getPost();

    ResultDto<?> submitPost(String token, String content);

    ResultDto<?> uploadImg(MultipartFile image);

    byte[] getImg(String imgName);
}
